package com.booking.controller.model.req.user;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author Qikai.Lin
 * @date 2023/4/23
 */
@Data
public class LoginReq {
    /**
     * 用户名(必填)
     */
    @NotEmpty(message = "用户名不能为空")
    private String username;
    /**
     * 用户密码(必填)
     */
    @NotEmpty(message = "密码不能为空")
    private String password;
}
